package org.sgs.reddit.bot.json;


// GOOD:
// {
//   "kind": "t2",
//   "data": {
//       "has_mail": false,
//       "name": "username",
//       "created": 1213716360.0,
//       "modhash": "f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0",
//       "created_utc": 1213716360.0,
//       "link_karma": 5000,
//       "comment_karma": 10000,
//       "is_gold": false,
//       "is_mod": true,
//       "id": "0ffff",
//       "has_mod_mail": false
//   }
// }
//
// BAD:
// {}
//
public class RedditMe {
  private String kind;
  private MeData data;

  public String getKind() {
    return kind;
  }

  public void setKind(String kind) {
    this.kind = kind;
  }

  public MeData getData() {
    return data;
  }

  public void setData(MeData data) {
    this.data = data;
  }

}

class MeData {

  private boolean has_mail;
  private String name;
  private double created;
  private String modhash;
  private double created_utc;
  private int link_karma;
  private int comment_karma;
  private boolean is_gold;
  private boolean is_mod;
  private String id;
  private boolean has_mod_mail;

  public MeData() {
    //
  }

  public boolean isHas_mail() {
    return has_mail;
  }

  public void setHas_mail(boolean has_mail) {
    this.has_mail = has_mail;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public double getCreated() {
    return created;
  }

  public void setCreated(double created) {
    this.created = created;
  }

  public String getModhash() {
    return modhash;
  }

  public void setModhash(String modhash) {
    this.modhash = modhash;
  }

  public double getCreated_utc() {
    return created_utc;
  }

  public void setCreated_utc(double created_utc) {
    this.created_utc = created_utc;
  }

  public int getLink_karma() {
    return link_karma;
  }

  public void setLink_karma(int link_karma) {
    this.link_karma = link_karma;
  }

  public int getComment_karma() {
    return comment_karma;
  }

  public void setComment_karma(int comment_karma) {
    this.comment_karma = comment_karma;
  }

  public boolean isIs_gold() {
    return is_gold;
  }

  public void setIs_gold(boolean is_gold) {
    this.is_gold = is_gold;
  }

  public boolean isIs_mod() {
    return is_mod;
  }

  public void setIs_mod(boolean is_mod) {
    this.is_mod = is_mod;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public boolean isHas_mod_mail() {
    return has_mod_mail;
  }

  public void setHas_mod_mail(boolean has_mod_mail) {
    this.has_mod_mail = has_mod_mail;
  }

}
